package com.systemframework.util;

import cn.dev33.satoken.secure.SaSecureUtil;

/**
 * @author summer
 * @date 2023-03-16 17:40
 */
public class MD5 {

    /**
     * 加密
     * @param key
     * @param psd
     * @return
     */
    public static String aesEncrypt(String key, String psd){
        return SaSecureUtil.aesEncrypt(key,psd);
    }

    /**
     * 解密
     * @param key
     * @param cipherText
     * @return
     */
    public static String aesDecrypt(String key, String cipherText){
        return SaSecureUtil.aesDecrypt(key,cipherText);
    }


}
